﻿using Microsoft.Exchange.WebServices.Data;
using System;
using System.Collections.Generic;
using System.Text;

namespace EmailHelper.Model
{
    /// <summary>
    /// EWS初始化模型
    /// </summary>
    public class EWSInitEntity
    {
        /// <summary>
        /// 邮箱地址
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 邮箱密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 域
        /// </summary>
        public string Domain { get; set; }

        /// <summary>
        /// 用户名，登录时可用 域\用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// EWS的url
        /// </summary>
        public string EWSURL { get; set; }

        /// <summary>
        /// Exchange服务器版本
        /// </summary>
        public ExchangeVersion ExchangeVersion { get; set; }
    }
}
